test: names used in .cargo/config are new-foo and new-bar, so match them
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Fri, 26 Jun 2015 22:07:22 +0000 (00:07 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Fri, 26 Jun 2015 22:07:22 +0000 (00:07 +0200)
tests/test_cargo_new.rs

index b885a49fcbdaf154905d71755677285edefbb5dc..bf1840315f1db2edf3fb6b8c44a3f22c1d992b55 100644 (file)
@@ -184,9 +184,9 @@ test!(finds_author_git {
 });
 
 test!(author_prefers_cargo {
-    my_process("git").args(&["config", "--global", "user.name", "bar"])
+    my_process("git").args(&["config", "--global", "user.name", "foo"])
                      .exec().unwrap();
-    my_process("git").args(&["config", "--global", "user.email", "baz"])
+    my_process("git").args(&["config", "--global", "user.email", "bar"])
                      .exec().unwrap();
     let root = paths::root();
     fs::create_dir(&root.join(".cargo")).unwrap();